package com.ly.hotel.broadcast;

import com.ly.hotel.msgevent.GetTimingMsgEvent;

import de.greenrobot.event.EventBus;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

/**
 * @Description: 通过BroadcastReceiver重启当前页面，实现语言切换
 * @author HanleyTowne
 * @email  tanghly@gmail.com
 * @date   2012-7-27下午6:05:50
 * @Google+ http://gplus.to/hanleytowne 
 */
public class TimingMsgReceiver extends BroadcastReceiver {

	
	@Override
	public void onReceive(Context context, Intent intent) {
		Log.i("timingMsg", "TimingMsgReceiver接收到广播了");
		EventBus.getDefault().post(new GetTimingMsgEvent());

	}

}
